Skip to main content

GradientStopPropertyColor

Type

operator

Summary

The color of a gradient stop value.

Syntax

the color of <mStop>

Description

The color of mStop.

Parameters

NameTypeDescription

mStop

An expression which evaluates to a gradient stop.

Examples

variable tStop
put gradient stop at 0 with color [1,1,1] into tStop

// Get the color of a stop
variable tColor
put the color of tStop into tColor

// Set the stop color to red
set the color of tStop to color [1,0,0]
Thank you for your feedback!

Was this page helpful?